FROM python:3.6

MAINTAINER snjl <349245467@qq.com>
VOLUME /tmp
ADD /requirements.txt requirements.txt
#WORKDIR /app
#VOLUME $HOME/.cache/pip/:/pip-cache
#ADD ./requirements.txt /app/requirements.txt
#RUN pip install -r requirements.txt -i https://pypi.douban.com/simple/ --cache-dir /pip-cache

RUN pip install -r requirements.txt -i https://pypi.douban.com/simple/
#ADD . /app
#VOLUME app:/app

#EXPOSE 5000
#CMD ["python", "app.py"]
